<template>
  <div id="app">
    <Loading/>
    <router-view/>
    <div class="xia">
    <van-tabbar route active-color="red" v-show="this.$route.meta.isShowAppBt">
  <van-tabbar-item replace to="/" icon="home-o">
    首页
  </van-tabbar-item>
  <van-tabbar-item replace to="/search" icon="search">
    分类
  </van-tabbar-item>
    <van-tabbar-item replace to="/mall" icon="friends-o">
    购物车
  </van-tabbar-item>
    <van-tabbar-item replace to="/user" icon="search">
    个人
  </van-tabbar-item>
</van-tabbar>
    </div>
  </div>
</template>
<script>
import Loading from "./components/loading/Loading.vue";
export default { 
  components:{
    Loading
  },
  mounted() {
    // this.$APIClient.login().then(res=>{
    //   console.log(res);
    // })
  },
  data(){
    return{

    }
  }
}
</script>
<style>
*
{
  padding: 0;
  margin: 0;
}
.xia {
  width: 100%;
  height: 90px;
  position: relative;
  bottom: 0;
  left: 0;
}
</style>
